import akka.kernel.Bootable
import akka.actor._
import com.typesafe.config.ConfigFactory

class LookupApplication extends Bootable {
  //#setup
  val system = ActorSystem("LookupApplication", ConfigFactory.load.getConfig("client"))
  val remotePath = "akka.tcp://CalculatorApplication@127.0.0.1:2552/user/simpleCalculator"
  val actor = system.actorSelection(remotePath)
  actor ! "hello!"

  def startup() {
  }

  def shutdown() {
    system.shutdown()
  }
}

object LookupApp {
  def main(args: Array[String]) {
    val app = new LookupApplication
    println("Started Lookup Application")
    
  }
}
